package com.fintech.common.constant;

public class ServiceException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String exceptionCode;
	@Override
	public String getMessage() {
		return super.getMessage();
	}

	public ServiceException(String message) {
		super(message);
	}
	
	public ServiceException(String exceptionCode,String message){
		super(message);
		this.exceptionCode=exceptionCode;
	}

	public String getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(String exceptionCode) {
		this.exceptionCode = exceptionCode;
	}
	

}
